From 5d7d4a952fb048f617b9d72f9612956000e6466b Mon Sep 17 00:00:00 2001 From: "kaf24@firebug.cl.cam.ac.uk" Date: Wed, 23 Nov 2005 12:22:58 +0100 Subject: [PATCH] BUG_ON test for xmalloc alignment should not be excluded for ia64. SMP_CACHE_BYTES should be increased for uniproc ia64 systems (how many uniproc ia64 boxes are there?!). Signed-off-by: Keir Fraser --- xen/common/xmalloc.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/xen/common/xmalloc.c b/xen/common/xmalloc.c index 5c0c02c754..4d74baee70 100644 --- a/xen/common/xmalloc.c +++ b/xen/common/xmalloc.c @@ -111,9 +111,7 @@ void *_xmalloc(size_t size, size_t align) unsigned long flags; /* We currently always return cacheline aligned. */ -#ifndef __ia64__ BUG_ON(align > SMP_CACHE_BYTES); -#endif /* Add room for header, pad to align next header. */ size += sizeof(struct xmalloc_hdr); -- 2.30.2